from apps.a_common.constants import V1Search
from apps.a_common.log import MyLogger
from apps.search.filter import filter_search_permission, filter_search_user
from apps.search.serializers import serialize_search_permission, serialize_search_user

log = MyLogger('search helper')

SEARCH_MAP = {
    V1Search.USER: (filter_search_user, serialize_search_user),
    V1Search.PERMISSION: (filter_search_permission, serialize_search_permission)
}
